package com.ktkj.init.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "ftp")
public class FTPBean {
    // 机器的ip
    private String hostname;
    // 端口号：21
    private int port;
    // 账号
    private String username;
    // 密码
    private String password;
}
